<template>
  <div class="home">
    <h1>公司介绍</h1>
    <div>
      Lorem ipsum dolor sit amet consectetur adipisicing elit. Labore ipsa consequuntur impedit non corrupti, possimus, perferendis minus nesciunt quas nihil numquam exercitationem aut sunt autem culpa fugiat, totam ullam facere.
    </div>
    <!-- <router-link to="Shop">
      <h2>打开商城</h2>
    </router-link> -->
    <h2 @click="handleShop">打开商城</h2>
  </div>
</template>

<script>

export default {
  name: 'Home',
  methods: {
    handleShop() {
      this.$router.push({
        name: 'shop',
        params: { reload: '1' }
      })
    }
  }
}
</script>
